package ltd.smallwang.app.task.convert;

import ltd.smallwang.client.task.dto.TaskDto;
import ltd.smallwang.infrastructure.task.db.model.TaskPo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author justd
 * @description 功能描述
 * @since 2024-04-25 01:15
 **/
@Mapper
public interface TaskConvert {
  TaskConvert INSTANCE = Mappers.getMapper(TaskConvert.class);

  TaskDto convert(TaskPo taskPo);
}
